<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <css file="__PUBLIC__/css/base.css"/>
            <link type="text/css" href="__ROOT__/data/ui/css/flick/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
            <script type="text/javascript" src="__ROOT__/data/ui/js/jquery-1.8.0.min.js"></script>
            <script type="text/javascript" src="__ROOT__/data/ui/js/jquery-ui-1.8.23.custom.min.js"></script>
			<script type="text/javascript">
                  $(function(){
                    $("#tabs").tabs({selected:<?php echo isset($_GET['tabid'])?$_GET['tabid']:0?>});
                })
            </script>
    </head>
    <body>
        <div class="now_path">
            <strong>您现在的位置：</strong>
            <a href="#">网站配置管理</a>
        </div>
		<div class="success_box">所有的选项都填写正确</div>
    	<div class="error_box"></div>
        <div id="tabs" style="width:100%">
            <ul>
                <li><a href="#tabs-1">基本设置</a></li>
				<li><a href="#tabs-2">高级设置</a></li>
            </ul> 
			<form action="__CONTROL__/type_add_exe" method="post" name='config'>
            <div id="tabs-1">
               <table class="table2">
               		<tr>
	               		<th>类型名称</th>
						<td><input type='text' name='conf_type' /></td>
					</tr>
			   </table>
            </div>
			<div id="tabs-2">
				<p>高级暂时没有内容</p>
			</div>
			<input type="submit" class="submit" value="增加配置类型" name='submit'/>
			</form>
        </div>
		<script type='text/javascript'>
			$(function(){
				$("input[type='submit']").click(function(){
					if($("input[name='conf_type']").val() == ''){
						alert('配置组名为必填项目!');
						return false;
					}
				});
			});
		</script>
    </body>
</html>
